package com.service.scheduling.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.dao.model.OrderProductHrComboPadding;

import java.util.Date;
import java.util.List;


public interface OrderProductHrComboPaddingService extends IService<OrderProductHrComboPadding> {

	/**
	 * @Description: 获取小于当前时间的填充算力订单
	 * @Author: ty
	 * @Date: 2021/6/8 20:32
	 * @param: [coinsId, current]
	 * @return: java.util.List<com.service.dao.model.OrderProductHrComboPadding>
	 **/
	List<OrderProductHrComboPadding> listBeforeCurrentDate(Integer coinsId, Date current);

	/**
	 * @Description: 修改结束填充算力订单状态
	 * @Author: ty
	 * @Date: 2021/6/8 21:46
	 * @param: [paddingIdList]
	 * @return: void
	 **/
	void updatePaddingHrComboRateOrder2Complete(List<OrderProductHrComboPadding> paddingIdList);
}
